<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>发表导读</title> 
<link href="../Public/css/header.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/articleshort-add.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.1.6.1.js"></script>
</head>

<body>
    <!--头部--><include file="../Public/header" />
<div id="shortarticle" class="auto"> 
     <!--左侧--><include file="../Group/mygroup_info" />
<div id="editmain"  class="left" >
   
  <h2>发表导读</h2>
  
  <form name="" action="__APP__/Admin/artinsert" method="post"    enctype="multipart/form-data" >  
      <div id="addnewitem">
            <div class="fleft">添加列表:</div>
            <div class="fright">
                  <input name="" value="1" size="6"  />
                  <a href="javascript:void(0);" id="clickadd">添加</a>
            </div>    
      </div> 
      <div id="thistitle">
  	  <div class="fleft">导读标题:</div>
          <div class="fright">
              <input type="text" value="" />
          </div>
      </div>
      <div id="itemshow">   
          <ul class="items">
              <li>
                    <div class="fleft">标题:</div>
                    <div class="fright"> <input name="title" type="text" value="{$alist.title}" size="50" /></div>
              </li>
              <li>
                    <div class="fleft">原链接:</div>
                    <div class="fright"> <input name="url" type="text" value="{$alist.title}" size="50" /></div>
              </li>
              <li>
                    <div class="fleft">关键字:</div>
                    <div class="fright">
                        <input name="keyword[]" type="text" value="{$alist.title}" size="12" />
                        <input name="keyword[]" type="text" value="{$alist.title}" size="12" />
                        <input name="keyword[]" type="text" value="{$alist.title}" size="12" /> 
                    </div>
              </li>   
               <li >
                    <div class="fleft" >内容:</div>
                    <div class="fright"> <textarea name="content" cols="55" rows="5"  >{$alist.content}</textarea></div>
              </li>  

            </ul>  
      </div>
        <div class="clear"></div>
         <div style="text-align:center;"> 
         <input name="kind" value="{$kind}{$alist.kind}" type="hidden"  /> 
              <input name="" id="submitBtn" type="button" value="提交" /> 
          </div> 
	</form>
  </div>
 </div>
    <!--底部-->
    
 <include file="../Public/bottom" />
</body>
    <script type="text/javascript">
        $(document).ready(function(){
            /*
             *添加短文
             **/
            $("#clickadd").click(function(){
                var citem = $(".items:first").clone();
                $("#itemshow").append(citem);
            })
            $("#submitBtn").click(function(){
                $("#itemshow").each(function(e,x){
                   var title= $(".items").eq(e).find("[name]='title'").val();
                })
            })
        })
    </script>
</html>